#ifndef OHAI_MANAGER
#define OHAI_MANAGER

#include "HoldemState.h"
#include "SituationProject.h"
#include <vector>
//#include <list>

const int BOTCHAIR=4;


class OHAIManager
{
public:
	OHAIManager(){};

	char* ConvertCard(unsigned char OHcard);
	double GenerateM(int aPlayer,MDataCont& aDataCont,HoldemState& aState);
	double GetMStack(int aPlayer, HoldemState& aState,MDataCont& aDataCont);
	double CalculateDecision(HoldemState& StateCopyGL);

	double GenerateMStack(int aPlayer);
	void GetSituation(HoldemState& aState,SituationProject& aSituation);
private:
	static std::vector<SituationProject> sitPlList;
	void PreGetSituation(HoldemState& aState,SituationProject& aSituation);	
	void ValidateSituation(HoldemState& aState,SituationProject& aSituation);
};

#endif